﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainView.aspx.cs" Inherits="mapex.api.MainView" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../map-easyui/jquery-1.11.1.js"></script>
    <script src="../map-easyui/jquery.easyui.min.js"></script>
    <script src="../map-easyui/locale/easyui-lang-zh_CN.js"></script>
    <link href="../map-easyui/themes/default/easyui.css" rel="stylesheet" />
    <script type="text/javascript">
        $(function () {
            //加载教程
            $('#GuideView').panel({
                border: false,
                href: 'GuideView.aspx?control=<%=Request["control"] %>'
            });
            //加载API
            $('#APIView').panel({
                border: false,
                href: 'APIView.aspx?control=<%=Request["control"] %>'
            });
        });
    </script>

    <style type="text/css">
        h2.title {
            border-bottom:1px solid #ccc;
        }
        h2.title a{
            color:#00f;
            text-decoration:none;
        }
        h2.title a:hover{
            color:#f00;
        }
    </style>
</head>
<body>
    <div class="easyui-layout">
        <div data-options="region:'center'" style="padding:10px">
            <h2 class="title">开发指引[<a href="GuideEdit.aspx?control=<%=Request["control"] %>" target="_blank">编辑</a>]</h2>
            <div id="GuideView"></div>
            <h2 class="title">API查询[<a href="APIEdit.aspx?control=<%=Request["control"] %>" target="_blank">编辑</a>]</h2>
            <div id="APIView"></div>
        </div>
    </div>
</body>
</html>
